<template>
    <div>
        <el-bread></el-bread>
        <v-list @edit="edit" ></v-list>
        <v-dialog :isShow="isShow" @close="close" ref="dialogRef"></v-dialog>
        
    </div>
</template>

<script lang="ts" setup>
import { ref } from "vue"
import vList from "./list.vue"
import vDialog from "./dialog.vue"
let isShow = ref(false)
let dialogRef = ref()

let edit = (uid:number) =>{
    isShow.value = true
    dialogRef.value.lookup(uid)
}
let close = () =>{
    isShow.value = false
}


</script>